package demo_0407;

public class GBox<T> {

    private T object;

    public T take() {
        return object;
    }

    public void put(T object) {
        this.object = object;
    }

    public <U> void inspect (U u) {
        System.out.println("T: " + object.getClass().getName());
        System.out.println("U: " + u.getClass().getName());
    }

    public static void main(String[] args) {
        System.out.println();
    }
}
